package com.bdqn.service;

import com.bdqn.client.ProductClientFeign;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: tao
 * @Description: talk is cheap,show me the code!
 * @Date: create in 2021/3/20 12:26
 */
@Service
public class ProductServiceImpl {

    @Autowired
    ProductClientFeign productClientFeign;

    public List<String> list(){
        return productClientFeign.getAll();
    }
}
